package CircularQueueDeom;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 周斌
 * Date: 2024-03-14
 * Time: 23:03
 */
public class CircularQueueSizeTest {
    public static void main(String[] args) {
        CircularQueueSize circularQueueSize = new CircularQueueSize();
        circularQueueSize.offer(1);
        circularQueueSize.offer(2);
        circularQueueSize.offer(3);
        System.out.println(circularQueueSize.poll());
        circularQueueSize.offer(4);
        circularQueueSize.offer(5);
        circularQueueSize.offer(6);
        circularQueueSize.offer(7);
        circularQueueSize.offer(8);
        circularQueueSize.offer(9);
        System.out.println(circularQueueSize.Front());
        System.out.println(circularQueueSize.Rear());
    }
}
